/**! @file config_error.h
 * Defines All errors of this library.
 *
 *   @module : configparser
 *   @date   : 2012-11-11
 *   @author : NoImagination
 *   @mail   : yyk882002@gmail.com (Bug-report)
 *   @license: GPL v3
 */
#ifndef _CONFIG_ERROR_H_384546
#define _CONFIG_ERROR_H_384546

#define CP_ERR_OK		0
#define CP_ERR_NOMEMORY		-1
#define CP_ERR_PARAMETER	-2
#define CP_ERR_FILEOPEN		-3
#define CP_ERR_BOUND		-4

/**! Error message table
 * defines all of the error message.
 */
char _errmsg[][64]=
{
	"No Error",
	"No sufficient memory",
	"Invalid parameter",
	"File not exists or open failed",
	"Parameter of get_err_string(int err) out of bound",
};

#endif
